//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.eight.cloud.payment.service.partnerpayments.wxcodepay.model;

import com.google.gson.annotations.SerializedName;
import com.wechat.pay.java.core.util.StringUtil;
import lombok.Data;

@Data
public class GoodsDetail {
    @SerializedName("merchant_goods_id")
    private String merchantGoodsId;
    @SerializedName("wechatpay_goods_id")
    private String wechatpayGoodsId;
    @SerializedName("goods_name")
    private String goodsName;
    @SerializedName("quantity")
    private Integer quantity;
    @SerializedName("unit_price")
    private Integer unitPrice;

    public GoodsDetail() {
    }
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class GoodsDetail {\n");
        sb.append("    merchantGoodsId: ").append(StringUtil.toIndentedString(this.merchantGoodsId)).append("\n");
        sb.append("    wechatpayGoodsId: ").append(StringUtil.toIndentedString(this.wechatpayGoodsId)).append("\n");
        sb.append("    goodsName: ").append(StringUtil.toIndentedString(this.goodsName)).append("\n");
        sb.append("    quantity: ").append(StringUtil.toIndentedString(this.quantity)).append("\n");
        sb.append("    unitPrice: ").append(StringUtil.toIndentedString(this.unitPrice)).append("\n");
        sb.append("}");
        return sb.toString();
    }
}
